webpackJsonp([34],{

/***/ "IFwL":
/***/ (function(module, exports) {

// removed by extract-text-webpack-plugin

/***/ }),

/***/ "YNoR":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });

// EXTERNAL MODULE: ./node_modules/_babel-runtime@6.26.0@babel-runtime/regenerator/index.js
var regenerator = __webpack_require__("lC5x");
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);

// EXTERNAL MODULE: ./node_modules/_babel-runtime@6.26.0@babel-runtime/core-js/promise.js
var promise = __webpack_require__("rVsN");
var promise_default = /*#__PURE__*/__webpack_require__.n(promise);

// EXTERNAL MODULE: ./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/slicedToArray.js
var slicedToArray = __webpack_require__("KH7x");
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);

// EXTERNAL MODULE: ./node_modules/_babel-runtime@6.26.0@babel-runtime/helpers/asyncToGenerator.js
var asyncToGenerator = __webpack_require__("J0Oq");
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);

// EXTERNAL MODULE: ./src/common/api/commonApi.js
var commonApi = __webpack_require__("+/+p");

// EXTERNAL MODULE: ./src/common/utils/index.js
var utils = __webpack_require__("dh3M");

// CONCATENATED MODULE: ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=script&index=0!./src/apps/danger-source-check/detail.vue




//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//




/* harmony default export */ var detail = ({
  data: function data() {
    return {
      item: {}
    };
  },
  activated: function activated() {
    this.initData();
  },

  methods: {
    initData: function initData() {
      var _this = this;

      return asyncToGenerator_default()( /*#__PURE__*/regenerator_default.a.mark(function _callee() {
        var p, _ref, _ref2, item, levelDic, disasterDic, entList;

        return regenerator_default.a.wrap(function _callee$(_context) {
          while (1) {
            switch (_context.prev = _context.next) {
              case 0:
                p = [commonApi["a" /* commonApi */].searchById('security_risk_filing', _this.$route.query.id), commonApi["a" /* commonApi */].dictionary('evaluation_level'), commonApi["a" /* commonApi */].dictionary('disaster'), commonApi["a" /* commonApi */].search('ent_enterprise')];
                _context.next = 3;
                return promise_default.a.all(p);

              case 3:
                _ref = _context.sent;
                _ref2 = slicedToArray_default()(_ref, 4);
                item = _ref2[0];
                levelDic = _ref2[1];
                disasterDic = _ref2[2];
                entList = _ref2[3];

                _this.item = Object(utils["d" /* ReplaceDictionary */])(item, { level: levelDic, 'unit:EnterpriseName:id': entList, genre: disasterDic });

              case 10:
              case "end":
                return _context.stop();
            }
          }
        }, _callee, _this);
      }))();
    }
  }
});
// CONCATENATED MODULE: ./node_modules/_vue-loader@13.7.3@vue-loader/lib/template-compiler?{"id":"data-v-73602bbe","hasScoped":true,"transformToRequire":{"video":["src","poster"],"source":"src","img":"src","image":"xlink:href"},"buble":{"transforms":{}}}!./node_modules/_vue-loader@13.7.3@vue-loader/lib/selector.js?type=template&index=0!./src/apps/danger-source-check/detail.vue
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('yt-page',{attrs:{"title":"重大危险源详情","scroll":""}},[_c('yt-card',{attrs:{"title":"基本信息"}},[_c('yt-cell',{attrs:{"label":"填报单位名称","labelWidth":"120px","value":_vm.item.unit}}),_vm._v(" "),_c('yt-cell',{attrs:{"label":"危险源名称","value":_vm.item.name}}),_vm._v(" "),_c('yt-cell',{attrs:{"label":"事故类型","value":_vm.item.genre}}),_vm._v(" "),_c('yt-cell',{attrs:{"label":"所在位置","value":_vm.item.address}}),_vm._v(" "),_c('yt-cell',{attrs:{"label":"危险源等级","value":_vm.item.level}})],1),_vm._v(" "),_c('yt-card',{attrs:{"title":"相关人员信息"}},[_c('yt-cell',{attrs:{"label":"危险源负责人","labelWidth":"100px","value":_vm.item.responsible}}),_vm._v(" "),_c('yt-cell',{attrs:{"label":"负责人所在部门","labelWidth":"120px","value":_vm.item.responsibleDepart}}),_vm._v(" "),_c('yt-cell',{attrs:{"label":"负责人电话"}},[_c('yt-cell-call',{attrs:{"tel":_vm.item.responsibleMobile || ''}})],1),_vm._v(" "),_c('yt-cell',{attrs:{"label":"填报人","labelWidth":"100px","value":_vm.item.write}}),_vm._v(" "),_c('yt-cell',{attrs:{"label":"填报人所在部门","labelWidth":"150px","value":_vm.item.writeDepart}}),_vm._v(" "),_c('yt-cell',{attrs:{"label":"填报人联系电话","labelWidth":"150px"}},[_c('yt-cell-call',{attrs:{"tel":_vm.item.writeMobile || ''}})],1),_vm._v(" "),_c('yt-cell',{attrs:{"label":"评估日期","value":_vm.item.assess}})],1)],1)}
var staticRenderFns = []
var esExports = { render: render, staticRenderFns: staticRenderFns }
/* harmony default export */ var danger_source_check_detail = (esExports);
// CONCATENATED MODULE: ./src/apps/danger-source-check/detail.vue
function injectStyle (ssrContext) {
  __webpack_require__("IFwL")
}
var normalizeComponent = __webpack_require__("C7Lr")
/* script */


/* template */

/* template functional */
var __vue_template_functional__ = false
/* styles */
var __vue_styles__ = injectStyle
/* scopeId */
var __vue_scopeId__ = "data-v-73602bbe"
/* moduleIdentifier (server only) */
var __vue_module_identifier__ = null
var Component = normalizeComponent(
  detail,
  danger_source_check_detail,
  __vue_template_functional__,
  __vue_styles__,
  __vue_scopeId__,
  __vue_module_identifier__
)

/* harmony default export */ var apps_danger_source_check_detail = __webpack_exports__["default"] = (Component.exports);


/***/ })

});